package com.ibeeking.found.cop.service.common.dos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @ClassName  DataTalkGroupDO
 * @Description 群聊记录数据表
 * @Author ibeeking
 * @Date 2021-01-15 10:44
 **/
@Data
@TableName("data_talk_group")
public class DataTalkGroupDO implements Serializable {
    private static final long serialVersionUID = -1L;

    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 群id
     */
    @TableField(value = "group_id")
    private Long groupId;

    /**
     * 群code
     */
    @TableField(value = "chat_id")
    private String chatId;

    /**
     * 群名称
     */
    @TableField(value = "group_name")
    private String groupName;

    /**
     * 群公告
     */
    @TableField(value = "notice")
    private String notice;
    /**
     * 群创建时间
     */
    @TableField(value = "build_time")
    private LocalDateTime buildTime;
    /**
     * 群id
     */
    @TableField(value = "builder")
    private String builder;
    /**
     * 创建时间
     */
    @TableField("create_time")
    private LocalDateTime createTime;
}
